<?php
namespace app\admin\controller;

use app\admin\controller\Base;
use think\Db;
use think\Request;
use app\admin\model\Authorizer;

class Monitor extends Base
{
    public function _initialize()
    {
        parent::_initialize();
    }
    public function fansmonitor()
    {
        $catregory = Db::table('nx_category')
            ->where([
                'delstatus'=>1,
                'level'=>1
            ])
            ->select();
        $this->assign('category',$catregory);
        return $this->fetch('monitor/fansmonitor');
    }
}
